package com.web.cms.pan.message;

import com.blue.core.dict.State;
import com.blue.core.dict.UploadType;

import java.io.Serializable;
import java.util.Date;

/**
 * 目录文件响应内容
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2018年04月09日
 */
public class FolderFileResponse implements Serializable
{
	private static final long serialVersionUID = 1L;

	private Integer id; // 编号
	private Integer folderId; // 目录编号
	private Integer fileDataId; // 文件数据编号
	private Integer userId; // 用户编号
	private String name; // 文件名称
	private String key; // 文件标识
	private Date createTime; // 创建时间
	private Date deleteTime; // 删除时间
	private Integer fileSize; // 文件大小
	private UploadType type; // 文件类型
	private State state; // 状态：0正常，1作废

	private String fileSizeName; // 文件大小
	private String url; // 完整URL
	
	public FolderFileResponse()
	{
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getFolderId()
	{
		return folderId;
	}

	public void setFolderId(Integer folderId)
	{
		this.folderId = folderId;
	}

	public Integer getFileDataId()
	{
		return fileDataId;
	}

	public void setFileDataId(Integer fileDataId)
	{
		this.fileDataId = fileDataId;
	}

	public Integer getUserId()
	{
		return userId;
	}

	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getDeleteTime()
	{
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime)
	{
		this.deleteTime = deleteTime;
	}

	public Integer getFileSize()
	{
		return fileSize;
	}

	public void setFileSize(Integer fileSize)
	{
		this.fileSize = fileSize;
	}

	public UploadType getType()
	{
		return type;
	}

	public void setType(UploadType type)
	{
		this.type = type;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public String getFileSizeName()
	{
		return fileSizeName;
	}

	public void setFileSizeName(String fileSizeName)
	{
		this.fileSizeName = fileSizeName;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public String getKey()
	{
		return key;
	}

	public void setKey(String key)
	{
		this.key = key;
	}
}
